﻿using System;
using System.IO;

namespace SilverlightUpload
{
    public class PicItemBase
    {
        private FileInfo file;
        public FileInfo File
        {
            get { return file; }
            set { file = value; }
        }

        private DateTime takeDate = DateTime.Now;
        public DateTime TakeDate
        {
            get { return takeDate; }
            set { takeDate = value; }
        }

        private string person="";
        public string Person
        {
            get { return person; }
            set { person = value; }
        }

        private string description="";
        public string Description
        {
            get { return description; }
            set { description = value; }
        }

        public long FileSize
        {
            get { return file == null ? 0 : file.Length; }
        }
    }
}
